package com.ruoyi.notice.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface WithdrawalMapper {
    List<Map> getWithdrawalsByMid(@Param("userId") Long userId);

    Double getTotalWithdrawal(@Param("userId") Long userId);

    List<Map> getWithdrawal(@Param("userId") Long userId);

    int addWithdrawal(Map map);
}
